Skip to content

Add OWNERS, CODEOWNERS, and ansible-lint GitHub Action for Prow onboarding#18

Merged
imatza-rh merged 4 commits into
mainfrom
prow-onboarding
Jul 2, 2026
Merged

Add OWNERS, CODEOWNERS, and ansible-lint GitHub Action for Prow onboarding#18
imatza-rh merged 4 commits into
mainfrom
prow-onboarding

Conversation

@imatza-rh

@imatza-rh imatza-rh commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Enable Prow-based PR review workflow (/lgtm, /approve, /hold) and add CI gate as a GitHub Action.

Changes

  • OWNERS + OWNERS_ALIASES: Define approvers and reviewers for Prow using the full shiftstack engineering team
  • CODEOWNERS: Automatic reviewer assignment when PRs are opened
  • .github/workflows/ansible-lint.yml: GitHub Action running pre-commit run --all-files on PRs - same as gate.sh
  • Lint fixes:
    • Add missing changed_when: true to two tasks in get_openshift_release_binaries.yml
    • Add set -o pipefail to shell tasks with pipes in run-performance-test.yml
    • Replace ignore_errors with failed_when: false in DUT pod cleanup task

Next steps (separate PRs)

  1. PR to openshift/release to add Prow plugin + Tide config under core-services/prow/02_config/shiftstack/shiftstack-qa/
  2. Branch protection (org admin): require lint check + Tide before merge

Ref: OSPRH-32049

@imatza-rh imatza-rh marked this pull request as ready for review June 29, 2026 14:42
@imatza-rh imatza-rh changed the title Add OWNERS, OWNERS_ALIASES, and ansible-lint GitHub Action Add OWNERS, CODEOWNERS, and ansible-lint GitHub Action for Prow onboarding Jun 29, 2026
imatza-rh added 2 commits July 1, 2026 23:30
Enable Prow-based PR review workflow for shiftstack-qa:
- OWNERS and OWNERS_ALIASES for /lgtm and /approve commands
- CODEOWNERS for automatic reviewer assignment
- GitHub Action running pre-commit (ansible-lint) on PRs,
  matching gate.sh behavior

Ref: OSPRH-32049
Change-Id: I7c580137f660b31a3e3f06b62d07b82838e9663c
Signed-off-by: Itay Matza <imatza@redhat.com>
- Add changed_when: true to two tasks in get_openshift_release_binaries
- Add set -o pipefail to shell tasks with pipes in run-performance-test
- Replace ignore_errors with failed_when: false in DUT pod cleanup

Ref: OSPRH-32049
Change-Id: I7320ee163f4a2811f7dd7d535424fabb2c2e694e
Signed-off-by: Itay Matza <imatza@redhat.com>
Comment thread OWNERS Outdated
Comment thread .github/workflows/ansible-lint.yml
Rename shiftstack-approvers/reviewers to openstack-approvers/reviewers
to match the naming convention used across all other shiftstack org
repos (shiftstack-ci, gazelle, ci-configs, merge-bot, etc.).

Add arxcruz (Arx Cruz) and kstrenkova (Katarina Strenkova) as
approvers and reviewers.

Assisted-By: Claude Code
Change-Id: I9bb750cae1a5c8bfd6a16d321b87cab78d58078e
Signed-off-by: Itay Matza <imatza@redhat.com>
@imatza-rh imatza-rh requested a review from winiciusallan July 2, 2026 07:43

@ekuris-redhat ekuris-redhat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please hold this PR so we can add additional team member Winston Chen , I am waiting to get his github user name

@ekuris-redhat ekuris-redhat self-requested a review July 2, 2026 08:04
Comment thread OWNERS_ALIASES
Assisted-By: Claude Code
Change-Id: I9ff550279fd6c46a8daba860ae875288d2ff7ad4
Signed-off-by: Itay Matza <imatza@redhat.com>
@imatza-rh

Copy link
Copy Markdown
Contributor Author

Please hold this PR so we can add additional team member Winston Chen , I am waiting to get his github user name

This PR is needed for OSPNW-1656 - happy to take any further additions in a follow-up PR.

@imatza-rh imatza-rh requested a review from ekuris-redhat July 2, 2026 08:11

@ekuris-redhat ekuris-redhat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imatza-rh imatza-rh merged commit da3299d into main Jul 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review PR is ready for code review

Development

Successfully merging this pull request may close these issues.

3 participants